import request from '@/utils/request'

// 审核历史
export function GetHistoryAPI (data) {
  return request({
    url: '/equipment/auditHistory/' + data,
    method: 'GET',

  })
}

// 上传文件
export function UpFileAPI (data) {
  return request({
    url: '/resource/oss/upload',
    method: 'POST',
    headers: {
      'Content-Type': 'multipart/form-data',
    },
    data
  })
}

/**
 * 班组
 */

export function GetTeaListAPI (params) {

  return request({
    url: '/system/sysTeam/getTeamDdl',
    method: 'GET',
    params
  })
}
/**
 * 安装地点树结构
 */
export function TreeListAPI () {
  return request({
    url: '/system/modeling/tree',
    method: 'GET',
  })
}
